package memberrewards.dtos;

import java.util.Collection;

public class BonusOfferDTO {

	private String offerId;
	private String offerType;
	private String eligibleMerchants;
	private String description;
	private String eligibleTiers;
	private Collection<String> tierList;
	public BonusOfferDTO(){
		super();
	}
	
	public String getOfferId() {
		return offerId;
	}

	public void setOfferId(String offerId) {
		this.offerId = offerId;
	}

	public String getOfferType() {
		return offerType;
	}

	public void setOfferType(String offerType) {
		this.offerType = offerType;
	}

	public String getEligibleMerchants() {
		return eligibleMerchants;
	}

	public void setEligibleMerchants(String eligibleMerchants) {
		this.eligibleMerchants = eligibleMerchants;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public String getEligibleTiers() {
		return eligibleTiers;
	}

	public void setEligibleTiers(String eligTiers) {
		this.eligibleTiers = eligTiers;
	}

	public Collection<String> getTierList() {
		return tierList;
	}
	public void setTierList(Collection<String> tierList) {
		this.tierList = tierList;
	}
	
	public String toString(){
		StringBuilder sb= new StringBuilder();
		sb.append("[OfferId :'"+getOfferId()+"'")
		  .append(",OfferType :'"+getOfferType()+"'")
		  .append(",EligibleMerchants :'"+getEligibleMerchants()+"'")
		  .append(",Description :'"+getDescription()+"'")
		  .append(",TierList :'"+(getTierList()!=null?getTierList().toString():"")+"']");
		return sb.toString();
	}

}
